#!/bin/bash

echo -e "who=\n$(who)" >> log.txt
echo -e "who -m =\n$(who -m)" >> log.txt
echo -e "whoami =\n$(whoami)" >> log.txt
echo -e "uptime =\n$(uptime)" >> log.txt
echo -e "hostname =\n$(hostname)" >> log.txt
echo -e '$HOSTNAME' "=\n$HOSTNAME" >> log.txt
#echo `whoami`

